﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=utf-8" http-equiv="content-type">
    <title>表单管理</title>

    <link rel="stylesheet" type="text/css" href="/admin/css/admin.css">
    <link rel="stylesheet" type="text/css" href="/admin/css/datagrid.css">
    <script type="text/javascript" src="/plugins/jquery/jquery.js"></script>
    <script type="text/javascript" src="/admin/js/admin.js"></script>
    <script type="text/javascript">
    $(function () {
        $('#checkall').click(function () {
            $('input[name=chkid]').attr("checked", this.checked)
        })
        $("#submitdel").click(function () {
            if (confirm("你确定要删除吗？删除之后将无法进行恢复")) {
                $("#action").val("delete");
                $("#frmpost").submit();
            }
        })
        PageNav("方配软件公司,/workflow/admin//formmanage.aspx?channelid=1&sortid=1");
    })
    function FormExport(formid)
    {
        $("#action").val("export");
        $("#formid").val(formid);
        $("#frmpost").submit();
    }
    </script>
</head>
<body>
    <table class="ntcplist">
        <tbody>
            <tr>
                <td colspan="2">
                    <div class="newslist">
                        <div class="newsicon">
                            <ul>
                                <li style="background: url(/admin/images/delete.gif) 2px 6px  no-repeat"> <a id="submitdel" href="#">删除</a></li>
                                <li style="background: url(/admin/images/add.gif) 2px 6px no-repeat"><a href="formadd.aspx?sortid=1">添加</a></li>
                                <li style="background: url(/admin/images/refresh.gif) 2px 6px no-repeat"><a href="formmanage.aspx?sortid=1">刷新</a> </li>
                                <li style="float:right; width:auto"><strong>方配软件公司</strong></li>
                            </ul>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <form id="frmpost" method="post" name="frmpost" action="">
                        <input type="hidden" name="action" id="action" value="">
                        <input type="hidden" name="formid" id="formid" value="">
                        <table class="datalist" border="1" rules="all" cellspacing="0">
                            <tbody>
                                <tr class="thead">
                                    <td width="40"><input id="checkall" name="checkall" type="checkbox"></td>
                                    <td>表单名称</td>
                                    <td>所属部门</td>
                                    <td>字段总数</td>
                                    <td>流程名称</td>
                                    <td width="50">状态</td>
                                    <td width="150">操作</td>
                                </tr>
                                <tr class="tlist" onmouseover="curcolor=this.style.backgroundColor;this.style.backgroundColor='#cbe3f4'" onmouseout="this.style.backgroundColor=curcolor" style="">
                                    <td><input id="chkid" name="chkid" value="7" type="checkbox"></td>
                                    <td align="center">测试文稿纸 </td>
                                    <td align="center">方配软件公司 </td>
                                    <td align="center">22 </td>
                                    <td align="center"></td>
                                    <td align="center">
                                        <span style="color:#1317fc">启用</span>
                                    </td>
                                    <td>
                                        <a style="color: #1317fc" href="formadd.aspx?id=7">编辑</a>
                                        <a style="color: #1317fc" href="formdesign.aspx?id=7" target="_blank">设计</a>
                                        <a style="color: #1317fc" href="../formview.aspx?formid=7" target="_blank">预览</a>
                                        <a style="color: #1317fc" href="formimport.aspx?sortid=1&amp;formid=7">导入</a>
                                        <a style="color: #1317fc" href="javascript:FormExport(7);">导出</a>
                                    </td>
                                </tr>
                                <tr class="tlist" onmouseover="curcolor=this.style.backgroundColor;this.style.backgroundColor='#cbe3f4'" onmouseout="this.style.backgroundColor=curcolor" style="">
                                    <td><input id="chkid" name="chkid" value="8" type="checkbox"></td>
                                    <td align="center">文件处理笺 </td>
                                    <td align="center">方配软件公司 </td>
                                    <td align="center">6 </td>
                                    <td align="center"></td>
                                    <td align="center">
                                        <span style="color:#1317fc">启用</span>
                                    </td>
                                    <td>
                                        <a style="color: #1317fc" href="formadd.aspx?id=8">编辑</a>
                                        <a style="color: #1317fc" href="formdesign.aspx?id=8" target="_blank">设计</a>
                                        <a style="color: #1317fc" href="../formview.aspx?formid=8" target="_blank">预览</a>
                                        <a style="color: #1317fc" href="formimport.aspx?sortid=1&amp;formid=8">导入</a>
                                        <a style="color: #1317fc" href="javascript:FormExport(8);">导出</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </form>
                </td>
            </tr>
            <tr>
                <td align="left">共有2个记录，页次：1/1，20条每页</td>
                <td align="right"><div class="pages"><a href="/workflow/admin/formmanage.aspx?sortid=1&amp;pageindex=1">首页</a><a href="/workflow/admin/formmanage.aspx?sortid=1&amp;pageindex=1">上一页</a><a class="current" href="/workflow/admin/formmanage.aspx?sortid=1&amp;pageindex=1">1</a><a href="/workflow/admin/formmanage.aspx?sortid=1&amp;pageindex=1">下一页</a><a href="/workflow/admin/formmanage.aspx?sortid=1&amp;pageindex=1">尾页</a></div></td>
            </tr>
        </tbody>
    </table>


</body>
</html>
